package com.dap.configuration.service.config.service;

import java.util.List;
import com.baidu.disconf.core.common.constants.DisConfigTypeEnum;
import com.baidu.disconf.core.common.json.ValueVo;
import com.baidu.disconf.web.service.config.bo.Config;

/**
 * @author dengxiang
 * @version 2014-6-16
 */
public interface ConfigFetchExtensionMgr {

	 /**
     * @param appId
     * @param envId
     * @param env
     * @param key
     * @param bankKey
     * @param disConfigTypeEnum
     *
     * @return
     */
    ValueVo getConfItemByParameter(Long appId, Long envId, String version, String key,String bankKey);

    /**
     * @param appId
     * @param envId
     * @param env
     * @param key
     * @param bankKey
     * @param disConfigTypeEnum
     *
     * @return
     */
    Config getConfByParameter(Long appId, Long envId, String env, String key,String bankKey, DisConfigTypeEnum disConfigTypeEnum);


}
